// 设备相关接口
import request from '../service/service';

/**
 * 获取未来几天天气
 */
export function getDaysWeather(data) {
  return request({
    protocol: 'bus/weather/getDaysWeather',
    options: data,
    method: 'get'
  });
}

/**
 * 根据项目id获取天气code
 */
export function getWeatherCode(data) {
  return request({
    protocol: 'bus/weather/getWeatherCode',
    options: data,
    method: 'get'
  });
}

/**
 * 环境监测
 */
export function getMonitorEnvor(data) {
  return request({
    protocol: 'bus/monitor/envor/findPage',
    options: data,
    method: 'get'
  });
}

/**
 * 沉降监测
 */
export function getMonitorcj(data) {
  return request({
    protocol: 'bus/monitor/cj/findPage',
    options: data,
    method: 'get'
  });
}
